import { defineConfig } from "vite";
import { resolve } from "path";

export default defineConfig(({ mode }) => {
  return {
    plugins: [],
    build: {
      lib: {
        entry: resolve(__dirname, "dom.js"),
        name: "fdm",
        fileName: "fdm",
      },
    },
  };
});
